﻿<%@ Page Title="消息详情" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="MessageDetail.aspx.cs" Inherits="HZ.Supervise.Web.Message.MessageDetail" %>
<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="../Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

 <script type="text/javascript" language="javascript">
     function ShowBillInfo() {
         window.open('../Common/SelectHospital.aspx?flag=1&AreaId=' + AreaId.value + '&AreaName=' + AreaName.value + '', 'selectReciever', 'width=800,height=700,resizable=0,scrollbars=1, status=0, toolbar=0, menubar=0');
     }
 </script>
  <div id="tabnav">
        <ul>
            <li class="active"><a href="#">消息详情</a></li>
        </ul>
    </div>
    <div class="maincon">
        <div id="note">
            详细信息
        </div>
    </div>
    <asp:GridView runat="server" ID="gvwMessageDetailList" CssClass="mainlist"   AutoGenerateColumns="False"
        EmptyDataText="暂无消息！" OnRowCommand="gvwMessageDetailList_RowCommand">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                      <%# Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <%-- <asp:BoundField DataField="AreaName" HeaderText="地区"  ReadOnly="True"/>--%>
             <asp:BoundField DataField="HospitalName" HeaderText="医院"  ReadOnly="True"/>
            <asp:BoundField DataField="Count" HeaderText="采购数量"  />
            <asp:BoundField DataField="Amount" HeaderText="采购总金额"  ReadOnly="True"/>  
            <asp:TemplateField Visible="false">
                <ItemTemplate>
                    <asp:Label ID="lblOrderName" runat="server" Text='<%# Eval("OrderName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                <%--<a href="AreaWarningList.aspx">aaa</a>--%>
                   <%-- <a  onclick="javascript:ShowBillInfo();"><%# Eval("BllId") %>  </a>--%>
                   
                   <asp:LinkButton ID="lbnDetail" runat="server" CommandName="DirectByDetail"    CommandArgument='<%# Eval("HospitalName")%>' >查看详细</asp:LinkButton>                     
                </ItemTemplate>
            </asp:TemplateField>
           
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" onpagechanged="AspNetPager1_PageChanged"  UrlPaging="true" >
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl" style="text-align: center">
        <input type="button" value="返回" class="btn" onclick="javascript:history.go(-1);" />
        <asp:HiddenField ID="hidwhere" runat="server" />
    </div>
    
</asp:Content>


<asp:Content ID="Content3" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style1
        {
            width: 40px;
        }
    </style>

</asp:Content>
